pascal OSStatus DrawThemeWindowHeader (
const Rect *inRect,
ThemeDrawState inState);
inRect
A pointer to a structure of type
Rect
. Before calling
DrawThemeWindowHeader
, specify the rectangle containing the window header, in local coordinates.
inState
A value of type
ThemeDrawState
. Pass a constant specifying the state in which to draw the window header; see
Theme Draw State Constants
. The header can be drawn as active or inactive; passing
kThemeStatePressed
produces an error.